home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 November / Chip Kasım 2000.iso / prog / basic / 09 / AXA2.CAB / DAJAVA.CAB / com / ms / dxmedia / LineStyleBvr.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-10-14  |  2.8 KB  |  102 lines

  1. package com.ms.dxmedia;
  2.  
  3. import com.ms.com.ComFailException;
  4. import com.ms.dxmedia.rawcom.DALineStyle;
  5. import com.ms.dxmedia.rawcom.IDABehavior;
  6. import com.ms.dxmedia.rawcom.IDALineStyle;
  7.  
  8. public class LineStyleBvr extends Behavior {
  9.    private IDALineStyle _COMptr;
  10.  
  11.    public LineStyleBvr join(JoinStyleBvr var1) {
  12.       try {
  13.          return new LineStyleBvr(this.getCOMPtr().Join(var1.getCOMPtr()));
  14.       } catch (ComFailException var4) {
  15.          throw StaticsBase.handleError(var4);
  16.       }
  17.    }
  18.  
  19.    public LineStyleBvr end(EndStyleBvr var1) {
  20.       try {
  21.          return new LineStyleBvr(this.getCOMPtr().End(var1.getCOMPtr()));
  22.       } catch (ComFailException var4) {
  23.          throw StaticsBase.handleError(var4);
  24.       }
  25.    }
  26.  
  27.    public LineStyleBvr(IDALineStyle var1) {
  28.       super(var1);
  29.       this._COMptr = var1;
  30.    }
  31.  
  32.    public LineStyleBvr() {
  33.       super((IDABehavior)null);
  34.       this._COMptr = null;
  35.    }
  36.  
  37.    public void setCOMBvr(IDABehavior var1) {
  38.       super.setCOMBvr(var1);
  39.       this._COMptr = (IDALineStyle)var1;
  40.    }
  41.  
  42.    public LineStyleBvr detail() {
  43.       try {
  44.          return new LineStyleBvr(this.getCOMPtr().Detail());
  45.       } catch (ComFailException var3) {
  46.          throw StaticsBase.handleError(var3);
  47.       }
  48.    }
  49.  
  50.    public LineStyleBvr color(ColorBvr var1) {
  51.       try {
  52.          return new LineStyleBvr(this.getCOMPtr().Color(var1.getCOMPtr()));
  53.       } catch (ComFailException var4) {
  54.          throw StaticsBase.handleError(var4);
  55.       }
  56.    }
  57.  
  58.    public LineStyleBvr lineAntialiasing(double var1) {
  59.       try {
  60.          return new LineStyleBvr(this.getCOMPtr().AntiAliasing(var1));
  61.       } catch (ComFailException var5) {
  62.          throw StaticsBase.handleError(var5);
  63.       }
  64.    }
  65.  
  66.    public static LineStyleBvr newUninitBvr() {
  67.       return new LineStyleBvr(new DALineStyle());
  68.    }
  69.  
  70.    protected Behavior newUninitBehavior() {
  71.       return newUninitBvr();
  72.    }
  73.  
  74.    public LineStyleBvr width(NumberBvr var1) {
  75.       try {
  76.          return new LineStyleBvr(this.getCOMPtr().WidthAnim(var1.getCOMPtr()));
  77.       } catch (ComFailException var4) {
  78.          throw StaticsBase.handleError(var4);
  79.       }
  80.    }
  81.  
  82.    public LineStyleBvr width(double var1) {
  83.       try {
  84.          return new LineStyleBvr(this.getCOMPtr().width(var1));
  85.       } catch (ComFailException var5) {
  86.          throw StaticsBase.handleError(var5);
  87.       }
  88.    }
  89.  
  90.    public IDALineStyle getCOMPtr() {
  91.       return this._COMptr;
  92.    }
  93.  
  94.    public LineStyleBvr dash(DashStyleBvr var1) {
  95.       try {
  96.          return new LineStyleBvr(this.getCOMPtr().Dash(var1.getCOMPtr()));
  97.       } catch (ComFailException var4) {
  98.          throw StaticsBase.handleError(var4);
  99.       }
  100.    }
  101. }
  102.